package com.nhncorp.pleiades.client;

public class Subscription {
  
  private SpaceEntry spaceEntry;
  private EventFilter filter;
  
  public Subscription (SpaceEntry entry) {
    this.spaceEntry = entry;
    init();
  }
  
  private void init() {
    filter = new SpaceEventFilter();
  }
  
  public EventFilter getFilter() {
    return filter;
  }

  public void setFilter(EventFilter filter) {
    this.filter = filter;
  }

  public SpaceEntry getSpaceEntry() {
    return spaceEntry;
  }

  public void setSpaceEntry(SpaceEntry spaceEntry) {
    this.spaceEntry = spaceEntry;
  }

}
